package com.edu.lagou.service;


import javax.servlet.http.HttpServletResponse;

/**
 * @program: stage-3-module-5
 * @description:
 * @author: zhangxiaoyang
 * @date: 2020-09-22 09:22
 **/
public interface UserService {

    Boolean register(String email, String code, String password, HttpServletResponse response);

    Boolean checkRegister(String email);

    String login(String email, String password, HttpServletResponse response);


    String getByToken(String token);
}
